﻿using System.Data;
using MyFloridaHouse.libSvDTO;

namespace MyFloridaHouse.DataAccess.Extensions
{
	/// <summary>
	/// Shape UogID
	/// </summary>
    public static class ShapeUogID
    {
		/// <summary>
		/// DataContract.
		/// </summary>
		/// <param name="rdr">The RDR.</param>
		/// <returns>Object <see cref="ShapeUogIDDTO"/></returns>
        public static ShapeUogIDDTO DataContract(IDataReader rdr)
        {
            var newItem = new ShapeUogIDDTO {uogID = (int) rdr["uogid"]};
			//newItem.regionID = (int)rdr["regionID"];
            return newItem;

        }
    }
}
